package com.mall.ware.service;

import com.mall.common.page.PageData;
import com.mall.common.service.CrudService;
import com.mall.ware.dto.PurchaseDetailDTO;
import com.mall.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author xjc xjc@163.com
 * @since 1.0.0 2022-07-17
 */
public interface PurchaseDetailService extends CrudService<PurchaseDetailEntity, PurchaseDetailDTO> {

    PageData<PurchaseDetailDTO> queryPageByCondition(Map<String, Object> params);

    List<PurchaseDetailEntity> listByPurchaseId(Long purchaseId);


}